package com.ruoyi.wuyi.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 农机库对象 wy_nongji_info
 * 
 * @author ruoyi
 * @date 2022-07-15
 */
public class WyNongjiInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 农机名称 */
    @Excel(name = "农机名称")
    private String name;

    /** 农机品牌 */
    @Excel(name = "农机品牌")
    private String brand;

    /** 机型品目 */
    @Excel(name = "机型品目")
    private String jixingitem;

    /** 农机品目 */
    @Excel(name = "农机品目")
    private String item;

    /** 上市时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上市时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date timetomarket;

    /** 生产厂家 */
    @Excel(name = "生产厂家")
    private String producerid;

    /** 指导价格 */
    @Excel(name = "指导价格")
    private Long price;

    /** 型号 */
    @Excel(name = "型号")
    private String model;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 删除标志 */
    private String delFlag;

    /** 审核人 */
    @Excel(name = "审核人")
    private String auditor;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private String auditstatus;

    /** 图片链接 */
    @Excel(name = "图片链接")
    private String imgurl;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }
    public void setJixingitem(String jixingitem) 
    {
        this.jixingitem = jixingitem;
    }

    public String getJixingitem() 
    {
        return jixingitem;
    }
    public void setItem(String item) 
    {
        this.item = item;
    }

    public String getItem() 
    {
        return item;
    }
    public void setTimetomarket(Date timetomarket) 
    {
        this.timetomarket = timetomarket;
    }

    public Date getTimetomarket() 
    {
        return timetomarket;
    }
    public void setProducerid(String producerid) 
    {
        this.producerid = producerid;
    }

    public String getProducerid() 
    {
        return producerid;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setAuditor(String auditor) 
    {
        this.auditor = auditor;
    }

    public String getAuditor() 
    {
        return auditor;
    }
    public void setAuditstatus(String auditstatus) 
    {
        this.auditstatus = auditstatus;
    }

    public String getAuditstatus() 
    {
        return auditstatus;
    }
    public void setImgurl(String imgurl) 
    {
        this.imgurl = imgurl;
    }

    public String getImgurl() 
    {
        return imgurl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("brand", getBrand())
            .append("jixingitem", getJixingitem())
            .append("item", getItem())
            .append("timetomarket", getTimetomarket())
            .append("producerid", getProducerid())
            .append("price", getPrice())
            .append("model", getModel())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("updateBy", getUpdateBy())
            .append("updateDate", getUpdateDate())
            .append("remarks", getRemarks())
            .append("delFlag", getDelFlag())
            .append("auditor", getAuditor())
            .append("auditstatus", getAuditstatus())
            .append("imgurl", getImgurl())
            .toString();
    }
}
